<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>编辑用户</title>
</head>
<body>
    <%@ include file="/common/islogin.jsp" %>
    <%@ include file="/common/header.jsp" %>
    <form action="setgrade" method="post">
       <table width="80%" border="1" align="center">
         <tr align="right">
           <td colspan="3">
               <a href="adminindex.jsp">首页&nbsp;</a>
              <a href="adminlogoff">注销登陆&nbsp;</a>
           </td>
         </tr>
         <tr align="center">
            <td colspan="3">修改用户权限</td>
         </tr>
         <tr align="center">
           <td width="26%">
                                         用户名：${username }
                <input type="hidden" name="username" value="${username }">
           </td>
           <td width="37%">
                                  级别：<select size="1" name="grade">
                    <option value="1">
                                                                  管理员
                    </option>
                    <option value="0">
                                                                  版主
                    </option> 
                    <option value="2">
                                                                 普通用户
                    </option>                 
                  </select>
           </td>
           <td width="37%">
                                        所在论坛：<select size="1" name="forum">
                            <c:forEach items="${forumlist}" var="forum">
                              <option value="${forum.id}">
                                ${forum.forumname}
                              </option>
                            </c:forEach>
                        </select>
           </td>
         </tr>
         <tr align="center">
           <td colspan="3">
             <input type="submit" value="确定">
             <input type="reset" value="清除">
           </td>
         </tr>
       </table>
    </form>
      <%@ include file="/common/footer.jsp" %>
</body>
</html>